package com.suzhe.ymall.order.enums;

public enum OrderMessageTypeEnum {

    ORDER_SUCCESS_PROMOTION("ORDER_SUCCESS:PROMOTION","订单成功通知促销服务"),
    ORDER_SUCCESS_PRODUCT("ORDER_SUCCESS:PRODUCT","订单成功通知商品服务");

    private String value;

    private String desc;

    OrderMessageTypeEnum(String value,String desc) {
        this.value = value;
        this.desc = desc;
    }

    public String value(){
        return this.value;
    }

    public String desc(){
        return desc;
    }

}
